/*
 * Created on Feb 25, 2005
 */
package com.scalar.chiptrack.finance.openpo;

/**
 * @author Ravikanth
**/
public class ReceiptOrder
{
	private int receipt_Id;
	private String receiptNumber;
	private int purchaseOrder_Id;
	private String purchaseOrderNumber;
	private String vendorName;
	private int vendor_Id;
	private String receiptDate;
    private int poType;
    private String status;
    /**
	 * @return
	 */
	public int getPurchaseOrder_Id()
	{
		return purchaseOrder_Id;
	}

	/**
	 * @return
	 */
	public String getPurchaseOrderNumber()
	{
		return purchaseOrderNumber;
	}

	/**
	 * @return
	 */
	public int getReceipt_Id()
	{
		return receipt_Id;
	}

	/**
	 * @return
	 */
	public String getReceiptDate()
	{
		return receiptDate;
	}

	/**
	 * @return
	 */
	public String getReceiptNumber()
	{
		return receiptNumber;
	}

	/**
	 * @return
	 */
	public int getVendor_Id()
	{
		return vendor_Id;
	}

	/**
	 * @return
	 */
	public String getVendorName()
	{
		return vendorName;
	}

	/**
	 * @param i
	 */
	public void setPurchaseOrder_Id(int i)
	{
		purchaseOrder_Id = i;
	}

	/**
	 * @param string
	 */
	public void setPurchaseOrderNumber(String string)
	{
		purchaseOrderNumber = string;
	}

	/**
	 * @param i
	 */
	public void setReceipt_Id(int i)
	{
		receipt_Id = i;
	}

	/**
	 * @param string
	 */
	public void setReceiptDate(String string)
	{
		receiptDate = string;
	}

	/**
	 * @param string
	 */
	public void setReceiptNumber(String string)
	{
		receiptNumber = string;
	}

	/**
	 * @param i
	 */
	public void setVendor_Id(int i)
	{
		vendor_Id = i;
	}

	/**
	 * @param string
	 */
	public void setVendorName(String string)
	{
		vendorName = string;
	}

    public int getPoType()
    {
        return poType;
    }

    public void setPoType(int poType)
    {
        this.poType = poType;
    }
    public String getPoTypeString()
	{
		switch ( poType )
		{
			case 1:
				return "Open";
			case 2:
				return "Standard PO";
			case 3:
				return "Drop Ship PO";
		}
		return null;
	}

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
